<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <ui:include src="menuDialogs.xhtml" />
        <p:layout fullPage="true">
            <p:layoutUnit position="west" size="20%" >
                <ui:include src="menu.xhtml"/>
            </p:layoutUnit>
            <p:layoutUnit position="center"  >
                <h:form>
                    <p:growl id="msgs" showDetail="true" />
                    <h:panelGrid columns="2" cellpadding="15">
                        <h:outputLabel  value="E-mail" />
                        <h:outputLabel  value="my_mail" />

                        <p:separator />
                        <p:separator />

                        <h:outputLabel  value="Username" />
                        <p:inputText  id="username" required="true" />

                        <h:outputLabel for="pwd1" value="Password: *" />
                        <p:password id="pwd1"  match="pwd2" label="Password 1" required="true" />

                        <h:outputLabel for="pwd2" value="Repeat password: *" />
                        <p:password id="pwd2"  label="Password 2" required="true" />

                        <p:outputLabel value="Location" for="province" />
                        <p:autoComplete id="province" dropdown="true" value="#{autoCompleteView.province}"
                                        completeMethod="#{autoCompleteView.completeText}" />

                        <h:outputText value="Privacy calendar" />
                        <p:selectBooleanButton id="value1" value="#{selectBooleanView.value1}"
                                               onLabel="Public" offLabel="Private" style="width:60px" />

                        <p:commandButton type="reset" value="Reset" />
                        <p:commandButton value="Save"  oncomplete="PF('issueDialog').hide();" />
                    </h:panelGrid>
                </h:form>
            </p:layoutUnit>
        </p:layout>

    </h:body>
</html>

